﻿namespace PenguinForce
{
    public struct AIParameters
    {
        /// <summary>
        /// how far away the animals see each other
        /// </summary>
        public float detectionDist;
        /// <summary>
        /// how far away can you see danger?
        /// </summary>
        public float dangerDetectionDist;
        /// <summary>
        /// seperate from animals inside this distance
        /// </summary>
        public float separationDist;
        /// <summary>
        /// how much the animal tends to move in it's previous direction
        /// </summary>
        public float moveInOldDirInfluence;
        /// <summary>
        /// how much the animal tends to move with animals in it's detection distance
        /// </summary>
        public float moveInFlockDirInfluence;
        /// <summary>
        /// how much the animal tends to move randomly
        /// </summary>
        public float moveInRandomDirInfluence;
        /// <summary>
        /// how quickly the animal can turn
        /// </summary>
        public float maxTurnRadians;
        /// <summary>
        /// how much each nearby animal influences it's behavior
        /// </summary>
        public float perMemberWeight;
        /// <summary>
        /// how much dangerous animals influence it's behavior
        /// </summary>
        public float perDangerWeight;
    }
}